<%--
  Created by IntelliJ IDEA.
  Author: Deng PengFei
  Date: 2021/8/14
  Time: 16:30
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>学生选题申请审核</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <%--引入LayUI--%>
    <link href="../../layui/css/layui.css" rel="stylesheet">
    <script src="../../layui/layui.js"></script>
    <script src="../../js/jquery-3.1.0.js"></script>

    <style>

        body {
            background-color: #eeeeee;
        }

        .layui-row {
            padding: 10px;
            margin: 10px;
            background-color: white;
            border-radius: 5px;
        }

        .left {
            width: 20%;
            padding: 5px;
            text-align: right;
        }

        .right {
            width: 30%;
            padding: 5px;
        }


    </style>
</head>
<body>
<div class="layui-layout layui-layout-admin">


    <%--面包屑导航--%>
    <div class="layui-row">
            <span class="layui-breadcrumb">
             <a href="studentInfo.jsp">首页</a><a><cite>学生自选课题申请审核</cite></a>
            </span>
    </div>


    <%--学生自选课题盒子--%>
    <div class="layui-row">
        <%---学生自选课题信息表格--%>
        <table class="layui-hide" id="task-student-table" lay-filter="task-student-table"></table>

    </div>


</div>
</body>

<%---学生自选课题头部工具栏--%>
<div id="task-student-table-toolbar" style="display: none">
    <div class="test-table-reload-btn">
        <div class="layui-inline" style="border: #009f95 solid 1px">
            <label for="major"></label>
            <select id="major" lay-verify="">
                <option value="">--选择所属组织--</option>
                <option value="测试专业">测试专业</option>
                <option value="测试专业">测试专业</option>
                <option value="测试时">测试时</option>
                <option value="测试">测试</option>
                <option value="测试">测试</option>
                <option value="0571">测试专业</option>
                <option value="0571">测试专业</option>
            </select>
        </div>
        <div class="layui-inline" style="border: #009f95 solid 1px">
            <label for="queryKey"></label>
            <input class="layui-input" id="queryKey" autocomplete="off" placeholder="工号/姓名/课题名称">
        </div>
        <a class="layui-btn layui-btn-primary layui-border-green" lay-event="query">搜 索</a> <%--按字段查询--%>
        <a class="layui-btn layui-btn-primary layui-border-green" lay-event="queryAll">全部信息</a> <%--查询全部--%>
    </div>
</div>

<%--操作栏--%>
<div id="msg-table-tool" style="display: none">
    <button class="layui-btn layui-btn-radius  layui-btn-primary layui-border-green layui-btn-xs" lay-event="check">
        审核
    </button>
    <button class="layui-btn layui-btn-radius  layui-btn-primary layui-border-blue layui-btn-xs" lay-event="detail">
        详情
    </button>
</div>


<%--课题详情模板--%>
<div class="layui-row" id="task-detail" style="display: none">
    <table class="layui-table" lay-skin="line">
        <thead>
        <tr>
            <td colspan="4"><h2>学生申请课题详情内容</h2></td>
        </tr>
        </thead>
        <tbody id="task-detail-tbody">
        <tr>
            <td class="left">编号:</td>
            <td class="right" id="task-id"></td>
            <td class="left">申请时间</td>
            <td class="right" id="task-addtime"></td>
        </tr>
        <tr>
            <td class="left">学号:</td>
            <td class="right" id="task-sno"></td>
            <td class="left">姓名:</td>
            <td class="right" id="task-sname"></td>
        </tr>
        <tr>
            <td class="left">指导老师</td>
            <td class="right" id="task-tname"></td>
            <td class="left">指导老师工号</td>
            <td class="right" id="task-tno"></td>

        </tr>
        <tr>
            <td class="left">所属学院:</td>
            <td class="right" id="task-college"></td>
            <td class="left">所属专业:</td>
            <td class="right" id="task-major"></td>
        </tr>
        <tr>
            <td class="left">标题:</td>
            <td class="right" id="task-title"></td>
            <td class="left">题目来源:</td>
            <td class="right" id="task-from"></td>
        </tr>
        <tr>
            <td class="left">题目类别:</td>
            <td class="right" id="task-category"></td>
            <td class="left">题目性质:</td>
            <td class="right" id="task-nature"></td>
        </tr>
        <tr>
            <td class="left">课题简介:</td>
            <td class="right" colspan="3" id="task-intr"></td>
        </tr>
        <tr>
            <td class="left">课题状态:</td>
            <td class="right" id="task-state"></td>
        </tr>
        <tr>
            <td class="left">审核意见</td>
            <td class="right" id="task-opinion"></td>
        </tr>
        </tbody>
    </table>
</div>


<%--审核审核学生自选题目报告--%>
<div class="layui-row" id="check-task-student" style="display: none">
    <table class="layui-table" lay-skin="line">
        <thead>
        <tr>
            <td colspan="4"><h2>审核学生自选题目报告</h2></td>
        </tr>
        </thead>
        <tbody id="task-check-student-tbody">

        </tbody>
        <thead>

        <tr>
            <td class="left"><label for="check-opinion">审核意见：</label></td>
            <td class="right" colspan="3">
                <textarea id="check-opinion" placeholder="输入审核意见" class="layui-textarea"></textarea>
            </td>
        </tr>

        <tr>
            <td colspan="4" style="text-align: center">
                <button class="layui-btn layui-btn-primary layui-border-green layui-btn-radius" id="check-pass">
                    <i class="layui-icon layui-icon-ok-circle" style="font-size: 20px"></i> 通过
                </button>
                <button class="layui-btn layui-btn-primary layui-border-red layui-btn-radius" id="check-no-pass">
                    <i class="layui-icon layui-icon-close-fill" style="font-size: 20px;"></i> 不通过
                </button>
            </td>
        </tr>
        </thead>
    </table>
</div>

<script>
    let USERNAME;
    $(function () {
        USERNAME = '${sessionScope.userName}';
    });
</script>
<script src="js/taskstudent.js"></script>


</html>
